﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HouseInfo.aspx.cs" Inherits="Main_HouseInfo" %>

<%@ Register src="../top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../bottom.ascx" tagname="bottom" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>楼盘详细</title>
    <link href="../css/header/header.css" rel="stylesheet" type="text/css" />
    <link href="../css/footer/footer.css" rel="stylesheet" type="text/css" />
    <link href="../css/shop/shop.css" rel="stylesheet" type="text/css" /> 
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="sexylightbox.v2.3.jquery.min.js"></script>
    <link rel="stylesheet" href="sexylightbox.css" type="text/css" media="all" />
  
  <script type="text/javascript">
    $(document).ready(function(){
      SexyLightbox.initialize({color:'white'});
    });
  </script>
    
<script language="javascript" type="text/javascript">
function btnback_onclick() {
 window.history.go(-1);
}
</script>
</head>
<body>
    <form id="form1" runat="server">
        <uc1:top ID="top1" runat="server" />
        <div class="main_all">
            <div class="house_left"> 
                <div class="shop_nav_bg">&nbsp;基本信息</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="house_base"></div>
                <br>
                <br>
                <table>
                    <tr>
                        <td>
                            楼盘名：</td>
                        <td>
                            <asp:Label ID="labname" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            类型：</td>
                        <td>
                            <asp:Label ID="labtype" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            均价：</td>
                        <td>
                            <asp:Label ID="labcost" runat="server"></asp:Label>元/㎡
                        </td>
                    </tr>
                    <tr>
                        <td>
                            开发商：</td>
                        <td>
                            <asp:Label ID="labdeveloper" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            物业公司：</td>
                        <td>
                            <asp:Label ID="labcompany" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            地段：</td>
                        <td>
                            <asp:Label ID="labaddress" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            户型：</td>
                        <td>
                            <asp:Label ID="labarea" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            建成日期：</td>
                        <td>
                            <asp:Label ID="labtime" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            电话：</td>
                        <td>
                            <asp:Label ID="labtel" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            联系人：</td>
                        <td>
                            <asp:Label ID="labperson" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            接待中心：</td>
                        <td>
                            <asp:Label ID="labcenter" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            支持数：</td>
                        <td>
                            <asp:Label ID="labup" runat="server" ForeColor="Red" Font-Size="Large"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:ImageButton ID="imgbtnup" runat="server" ImageUrl="~/css/shop/up.jpg" 
                                onclick="imgbtnup_Click" BorderStyle="Outset" BorderWidth="3px" />
                        </td>
                    </tr>
                </table>
            </div> 
            <div class="picbox">
                <asp:Image ID="imgpic" runat="server" width="510px" height="325px" />
              </div>
              <div class="rightbox">           
               <h1>更多楼盘</h1>
               <div class="box_text">
                   <asp:DataList ID="dlhouse" runat="server" CssClass="newstexs" RepeatColumns="1" 
                       RepeatDirection="Horizontal">
                       <ItemTemplate>
                           <asp:HiddenField ID="Hiddenhid" runat="server" Value='<%# Eval("Hid") %>' />
                           <div class="shops">
                               <asp:HyperLink ID="hlhouse" runat="server" Target="_blank">
                               <asp:Image ID="imgbtnhouse" runat="server" Height="130px" 
                                   ImageUrl='<%# Eval("Hlogo") %>' 
                                   Width="150px" />
                               </asp:HyperLink>
                               <div><asp:Label ID="labHname" runat="server" Text='<%# Eval("Hname") %>'></asp:Label>
                               <br/>均价：<asp:Label ID="labHcost" runat="server" Text='<%# Eval("Hcost") %>'></asp:Label>元/㎡
                               </div>
                           </div>
                       </ItemTemplate>
                   </asp:DataList>
               </div>
             </div>
             <div class="content"> 
                <div class="shop_nav_bg">&nbsp;优惠信息</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="content_title"></div>
                 <asp:Label ID="labcontent" runat="server" ForeColor="Green"></asp:Label>
             </div>
              <div class="content"> 
                <div class="shop_nav_bg">&nbsp;楼盘介绍</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="content_title"></div>
                </br>
                </br>
                <div style="width:765px;"><asp:Label ID="labintroduce" runat="server"></asp:Label></div>
             </div>
              <div class="content"> 
                <div class="shop_nav_bg">&nbsp;楼盘图片</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="content_title"></div>
                </br>
                <div style="margin:2px 2px; padding:4px 4px 2px 4px; border:1px solid #b8b8b8;float:left;width:753px;">
                	<a href="<%=img1%>" rel="sexylightbox[group1]" title="<%=tit1%>"><img src="<%=img1%>" width="179" height="150"/></a>
            		<a href="<%=img2%>" rel="sexylightbox[group1]" title="<%=tit2%>"><img src="<%=img2%>" width="179" height="150"/></a>
            		<a href="<%=img3%>" rel="sexylightbox[group1]" title="<%=tit3%>"><img src="<%=img3%>" width="179" height="150"/></a>
            		<a href="<%=img4%>" rel="sexylightbox[group1]" title="<%=tit4%>"><img src="<%=img4%>" width="179" height="150"/></a>
            		<a href="<%=img5%>" rel="sexylightbox[group1]" title="<%=tit5%>"><img src="<%=img5%>" width="179" height="150"/></a>
            		<a href="<%=img6%>" rel="sexylightbox[group1]" title="<%=tit6%>"><img src="<%=img6%>" width="179" height="150"/></a>
            		<a href="<%=img7%>" rel="sexylightbox[group1]" title="<%=tit7%>"><img src="<%=img7%>" width="179" height="150"/></a>
            		<a href="<%=img8%>" rel="sexylightbox[group1]" title="<%=tit8%>"><img src="<%=img8%>" width="179" height="150"/></a>
            	</div>
             </div>
              <div class="content"> 
                <div class="shop_nav_bg">&nbsp;网友评论</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="content_title"></div>
                <div class="news_w">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                  <ContentTemplate>
                   <div id="newsmaincen">
                    <asp:DataList ID="dlopinion" runat="server" OnItemCommand="dlopinion_ItemCommand" Width="720px">
                           <ItemTemplate>
                                <div style="border-bottom: #666666 1px dashed; width:720px;">
                                    <div>
                                         <asp:Panel ID="Panel1" runat="server" Width="720px">
                                         <span style="font-size: 14px"></span>
                                         <asp:Label ID="lblID" runat="server" ForeColor="Red" Text='<%# Eval("留言id") %>' Visible="False"></asp:Label>
                                         <asp:Label ID="labuser" runat="server" Text='<%# Eval("留言人") %>' Font-Size="14px" ForeColor="Red"></asp:Label>
                                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                         <asp:Label ID="lbshijian" runat="server" Text='<%# Eval("留言时间") %>' Font-Size="14px"></asp:Label>
                                             &nbsp;&nbsp;&nbsp;&nbsp;
                                         <asp:LinkButton ID="lbtnshowreply" runat="server"  CssClass="page" CommandName="show">回复</asp:LinkButton>
                                             <asp:LinkButton ID="lbtnhidereply" runat="server" CommandName="hide" 
                                                 CssClass="page" Visible="False">取消</asp:LinkButton>
                                                 <asp:LinkButton ID="lbtndel" runat="server"  CssClass="page" CommandName="delete" Visible="False">删除</asp:LinkButton>
                                                 <br>
                                                 <asp:Label ID="lbl" runat="server" Text='<%# Eval("留言内容") %>' Font-Size="14px" ForeColor="Green"></asp:Label>
                                                    <div style="margin-left:50px;"> 
                                                       <asp:DataList ID="dlreply" runat="server" onitemcommand="dlreply_ItemCommand">
                                                         <ItemTemplate>
                                                             <asp:Label ID="lblID" runat="server" ForeColor="Red" 
                                                                 Text='<%# Eval("Rid") %>' Visible="False"></asp:Label>
                                                             <asp:Label ID="labuser" runat="server" Font-Size="14px" ForeColor="Red" 
                                                                 Text='<%# Eval("Rauthor") %>'></asp:Label>
                                                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                             <asp:Label ID="lbshijian" runat="server" Font-Size="14px" 
                                                                 Text='<%# Eval("Rtime") %>'></asp:Label>
                                                             <asp:LinkButton ID="lbtndel" runat="server" CommandName="delete" 
                                                                 CssClass="page" Visible="False">删除</asp:LinkButton>
                                                             <br />
                                                             <asp:Label ID="lbl" runat="server" Font-Size="14px" ForeColor="#3366CC" 
                                                                 Text='<%# Eval("Rcontent") %>'></asp:Label>
                                                         </ItemTemplate>
                                                       </asp:DataList>
                                                   </div> 
                                                     <asp:Panel ID="plreply" runat="server" Visible="False">
                                                         <asp:TextBox ID="txtreply" runat="server" Height="50px" TextMode="MultiLine" 
                                                             Width="500px"></asp:TextBox>
                                                         <asp:LinkButton ID="lbtnreply" runat="server"  CssClass="page" CommandName="add">提交</asp:LinkButton>
                                             </asp:Panel>
                                         </asp:Panel>     
                                    </div>        
                                </div>
                             </ItemTemplate>
                         </asp:DataList>
                         <div class="topbottom">
                            <asp:LinkButton ID="lbpre" runat="server" CssClass="page" CommandArgument="pre" OnCommand="IndexChanging">上页</asp:LinkButton><span></span>
                            <asp:LinkButton ID="lbnext" runat="server" CssClass="page" CommandArgument="next" OnCommand="IndexChanging">下页</asp:LinkButton><span></span>
                         </div>                     
                    </div>
                    <div class="news_tp">
                        <h2>发表评论：<span>已有<asp:Label ID="labnumber" runat="server" Font-Size="14px" ForeColor="Orange">0</asp:Label>位用户发表了看法
                              </span></h2>
                        <asp:TextBox ID="txtcontent" CssClass="apptextbox" runat="server" TextMode="MultiLine"
                                    Width="99%" Height="100px"></asp:TextBox>
                        <div class="news_ren">
                            <asp:Label ID="Label1" runat="server" Text="纺织城昵称："></asp:Label>
                            <asp:TextBox ID="txtname" runat="server" CssClass="apptextbox"></asp:TextBox>
                            <asp:Button ID="btntijiao" runat="server" CssClass="btngrey"
                                        Text="提交评论" onclick="btntijiao_Click" />
                        </div>
                    </div>
                    </ContentTemplate> 
                    </asp:UpdatePanel>
                  </div>
             </div>
        </div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
